﻿using System;
using System.Linq;

class Program
{
    static void Main()
    {
        Student[] students =
        {
            new Student("Aksel","Ferzuev",5),
            new Student("Valeri","Manchev",21),
            new Student("Vasil","Vasilev",35),
            new Student("Hristo","Bahnev",9)

        };

        var sortedStudents =
            from student in students
            where student.Age >= 18 && student.Age <= 24
            select student;

        foreach (var student in sortedStudents)
        {
            Console.WriteLine(student.FirstName+" "+student.SecondName+" "+student.Age);
        }
    }
}